<!DOCTYPE html>

<html>
  <head>
    <?php get_header();?>
    <script type="text/javascript">
      $(document).ready(function(){

      });
    </script>
  </head>
  
  <body>

  <div id="page-body">

  <!--主循环-->
  <!--文章-->

    <div id="sidebar">
      <?php get_sidebar();?>
    </div>

    <div id="main">

      <div id="single-post">

        <?php the_post(); ?>
        
        <a href="<?php the_permalink(); ?>">
          <h2 style="margin: 0 0 5px;"><?php the_title(); ?></h2>
        </a>
        
        <div class="postdata" style="border:1px solid #000;background-color:#f5f5f5;padding:0 0 0 2px;">

          <span style="float: left; margin: 2px 5px 0 0;" ><?php echo get_avatar( get_the_author_email(), 44 ); ?></span>
          <span style="margin:3px 0 1px 0;display: inline-block;">
            作者
            <?php the_author(','); ?>
            , 分类:
            <span class="wenzhangtab" ><?php the_category(','); ?></span>
            , 
            <?php comments_popup_link('没有评论','共有1评论', '共有%评论'); ?>
            <?php the_tags(',标签: ',',',''); ?>
            <?php edit_post_link('编辑',', 您可以','它'); ?>
          </span>
          <br/>
          <span style="margin:1px 0 3px 0;display: inline-block;">
            作者简介: <span class="author_des"><?php the_author_description();?></span>
          </span>
        </div>
   
        <div class="entry">  
          <?php the_content(); ?>
        </div>

        <div id="post_page">
          <?php wp_link_pages(array('next_or_number'=>'next', 'previouspagelink' => ' «上一页 ', 'nextpagelink'=>' 下一页» ')); ?>
        </div>

      </div>

      <div id="comment-div">
        <?php comments_template(); ?>
      </div>



    <div style="clear:both;width 100%"></div>

  </div>

  
  <script type="text/javascript">
    jQuery("#loading").animate({width:"70%"},500);
  </script>

  <!--底部-->
  <?php get_footer();?>
  </body>

</html>
